package com.king.micro.common.dao;

import com.king.micro.common.T_BaseTest;
import org.junit.Test;

import javax.annotation.Resource;

/**
 * @author 赵晓光
 *         created 2017/11/10 17:02
 *         copyright 2017 micro
 * @FileName: T_user.java
 * package: com.king.micro.common.dao
 */
public class T_UserDao extends T_BaseTest{

    @Resource(name="common.UserDao")
    private UserDao UserDao;

    @Test
    public void T_findRoleByCode() {
        String message = UserDao.findById("1");
        System.out.println(message);
    }
}
